package com.ybwh.springboot2.seq.model.entity;

import com.alibaba.fastjson.JSON;
import com.gitee.fastmybatis.annotation.Pk;
import com.gitee.fastmybatis.annotation.PkStrategy;
import com.gitee.fastmybatis.annotation.Table;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
* 业务序列号信息
* @author youbeiwuhuan
* @date   2023-06-07 11:50:26
*/

@Data
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "seq_no",pk = @Pk(name = "id", strategy = PkStrategy.NONE))
public class SeqNo {

	/**
	* 
	*/
	@ApiModelProperty(value="")
	private Long id;
	/**
	* 序列号编码
	*/
	@ApiModelProperty(value="序列号编码")
	private String seqCode;
	/**
	* 序号,增长
	*/
	@ApiModelProperty(value="序号,增长")
	private Long seq;

	@ApiModelProperty(value="序号长度")
	private Integer seqLen;
	/**
	* 创建时间
	*/
	@ApiModelProperty(value="创建时间")
	private Long createTime;
	/**
	* 更新时间
	*/
	@ApiModelProperty(value="更新时间")
	private Long updateTime;

	@Override
	public String toString() {
	return JSON.toJSONString(this);
	}

}